e201c1255436dd84c347bc2332c6e3c8fc1ad665,execution/impl/com/intellij/execution/impl/RunConfigurable.java,RunConfigurable,update,#,210

Before Change



  private void update() {
    updateDialog();
    final DefaultMutableTreeNode node = (DefaultMutableTreeNode)myTree.getSelectionPath().getLastPathComponent();
    ((DefaultTreeModel)myTree.getModel()).reload(node);
  }

After Change



  private void update() {
    updateDialog();
    final TreePath selectionPath = myTree.getSelectionPath();
    if (selectionPath != null) {
      final DefaultMutableTreeNode node = (DefaultMutableTreeNode)selectionPath.getLastPathComponent();
      ((DefaultTreeModel)myTree.getModel()).reload(node);
    }
  }